<%@ page import="your_car_status.Customer" %>



<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'email', 'error')} required">
	<label for="email">
		<g:message code="customer.email.label" default="Email" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="email" name="email" required="" value="${customerInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="customer.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" pattern="${customerInstance.constraints.name.matches}" required="" value="${customerInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'address', 'error')} required">
	<label for="address">
		<g:message code="customer.address.label" default="Address" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="address" required="" value="${customerInstance?.address}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'phoneNumber', 'error')} required">
	<label for="phoneNumber">
		<g:message code="customer.phoneNumber.label" default="Phone Number" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="phoneNumber" maxlength="12" pattern="${customerInstance.constraints.phoneNumber.matches}" required="" value="${customerInstance?.phoneNumber}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'password', 'error')} required">
	<label for="password">
		<g:message code="customer.password.label" default="Password" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="password" name="password" maxlength="15" required="" value="${customerInstance?.password}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'password', 'error')} required">
  <label for="confirmPassword">
          <g:message code="Confirm Password" />
          <span class="required-indicator">*</span>
  </label>
  <g:field type="password" name="confirmPassword" maxlength="15" required="" value="${customerInstance?.confirmPassword}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'identification', 'error')} ">
	<label for="identification">
		<g:message code="customer.identification.label" default="Identification" />
		
	</label>
	<g:textField name="identification" value="${customerInstance?.identification}"/>
</div>
